﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace MobileTasksService.Model.Entities
{
    [DataContract]
    public class UserDto
    {
        [DataMember]
        public int UserId;

        [DataMember]
        public string Username;

        [DataMember]
        public string Password;

        [DataMember]
        public string LastName;

        [DataMember]
        public string FirstName;

        [DataMember]
        public string CompanyName;

        [DataMember]
        public string ClientName;

        [DataMember]
        public int ParentUserId;

        [DataMember]
        public bool Blocked;

        [DataMember]
        public bool Active;

        [DataMember]
        public int LoginAttempts;

        [DataMember]
        public DateTime LastActivityDate;

        [DataMember]
        public DateTime LastLoginDate;

        public UserDto()
        {
        }
    }
}